package com.woniuxy.commons.exception;

import com.woniuxy.commons.exception.code.AddressExceptionCode;
import com.woniuxy.commons.exception.code.OrderExceptionCode;

public class OrderException extends WoniuxyException{
    private static final long serialVersionUID = 1L;
    public OrderException(Integer code, String message) {
        super(code, message);
    }
    public OrderException(OrderExceptionCode orderExceptionCode){
        super(orderExceptionCode.getCode(),orderExceptionCode.getMessage());
    }

}
